// -----------------------------------------------------------------------
//  <copyright file="SettingDefinition.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024-04-17 14:37</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Domain.Entity;
using DaprPlus.Properties;

using OSharp.Localized;


namespace DaprPlus.Settings;

/// <summary>
/// 实体类：设置定义
/// </summary>
[LocalizedDescription("String_Settings_SettingDefinition", typeof(ResDaprPlus))]
public class SettingDefinition : EntityBase, IAggregateRoot
{
    public string Name { get; set; } = null!;

    public string TypeName { get; set; } = null!;

    public string? Remark { get; set; }

    public virtual ICollection<SettingItem> Items { get; set; } = new List<SettingItem>();
}
